From 51f72728d550f77f2271a16ba87750b296101b93 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 22 Sep 2014 14:59:51 +0200 Subject: [PATCH] tools/xenpaging: create dumpdir with mode 0700 The swapfile contain sensitive guest info. Signed-off-by: Olaf Hering Acked-by: Ian Campbell --- tools/xenpaging/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenpaging/Makefile b/tools/xenpaging/Makefile index 4ff3375e0c..fedd0fb0c3 100644 --- a/tools/xenpaging/Makefile +++ b/tools/xenpaging/Makefile @@ -23,7 +23,7 @@ xenpaging: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(APPEND_LDFLAGS) install: all - $(INSTALL_DIR) $(DESTDIR)$(XEN_PAGING_DIR) + $(INSTALL_DIR) -m 0700 $(DESTDIR)$(XEN_PAGING_DIR) $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC) $(INSTALL_PROG) $(IBINS) $(DESTDIR)$(LIBEXEC) -- 2.30.2